Skip to content

fix: handle empty list in pack() and fix typo in error message - #433

Open
mshzy wants to merge 1 commit into
arogozhnikov:mainfrom
mshzy:fix/pack-empty-list-and-typo
Open

fix: handle empty list in pack() and fix typo in error message#433
mshzy wants to merge 1 commit into
arogozhnikov:mainfrom
mshzy:fix/pack-empty-list-and-typo

Conversation

@mshzy

@mshzy mshzy commented Jun 1, 2026

Copy link
Copy Markdown

Changes

  1. pack() empty list fix: pack([], ...) now raises clear EinopsError instead of IndexError: list index out of range
  2. Typo fix: "should should" → "should" in parsing.py

Testing

Existing tests pass.

- pack(): raise EinopsError instead of IndexError when given empty list
- parsing.py: fix 'should should' -> 'should' in error message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant